<?php
// +----------------------------------------------------------------------
// | 适配QR函数
// +----------------------------------------------------------------------


use app\Route;
use app\core\Config;


//授权检测
Route::var('RobotAuth', function () {
    return 1;
});

//获取回复id
Route::var('Msgbar', function () {
    return $this->message['real_id'];
});

//引用回复
Route::fun('rep/:id', function ($id) {
    return "[CQ:reply,id={$id}]";
});
